package com.sh.business.domain.vo;

import java.math.BigDecimal;
import com.sh.business.domain.Mining;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.sh.common.excel.annotation.ExcelDictFormat;
import com.sh.common.excel.convert.ExcelDictConvert;
import com.sh.common.translation.annotation.Translation;
import com.sh.common.translation.constant.TransConstant;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 矿机视图对象 bms_mining
 *
 * @author ruoyi
 * @date 2024-10-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Mining.class)
public class MiningVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 价格
     */
    @ExcelProperty(value = "价格")
    private BigDecimal price;

    /**
     * 图标
     */
    @ExcelProperty(value = "图标")
    private String icon;

    /**
     * 图片Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "icon")
    private String iconUrl;

    /**
     * 算力
     */
    @ExcelProperty(value = "算力")
    private BigDecimal computility;

    /**
     * 期限
     */
    @ExcelProperty(value = "期限")
    private String term;

    /**
     * 日产量
     */
    @ExcelProperty(value = "日产量")
    private String dailyCapacity;


}
